package com.eightbears.beboy.entity;

import com.eightbears.beboy.R;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Bao on 2017/7/10.
 */

public class PayTypeEntity {

    public static final String TYPE_ALIPAY = "0";
    public static final String TYPE_WCHAT = "1";
    public static final String TYPE_MYPAY = "2";

    private String name;
    private int cover;
    private String type;


    public static List<PayTypeEntity> getPayList() {
        List<PayTypeEntity> list = new ArrayList<>();
        PayTypeEntity yue = new PayTypeEntity();
        yue.setName("余额");
        yue.setType(TYPE_MYPAY);
        yue.setCover(R.mipmap.icon_balance);
        list.add(yue);
        PayTypeEntity zfb = new PayTypeEntity();
        zfb.setName("支付宝");
        zfb.setType(TYPE_ALIPAY);
        zfb.setCover(R.mipmap.zfb_icon);
        list.add(zfb);
        PayTypeEntity wchat = new PayTypeEntity();
        wchat.setName("微信");
        wchat.setType(TYPE_WCHAT);
        wchat.setCover(R.mipmap.wx_icon);
        list.add(wchat);

        return list;
    }


    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getCover() {
        return cover;
    }

    public void setCover(int cover) {
        this.cover = cover;
    }
}
